// CustomNonDBVariable.cpp: implementation of the CCustomNonDBVariable class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "CustomNonDBVariable.h"
#include "PropertyVisitor.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
namespace pa
{
	CustomNonDBVariable::CustomNonDBVariable()
	{
		PropertyVar(this);
		m_bIsCustom = true;
	}

	CustomNonDBVariable::~CustomNonDBVariable()
	{

	}

	Property* CustomNonDBVariable::Clone()
	{
		CustomNonDBVariable *pVar = new CustomNonDBVariable;
		ASSERT(pVar);
		this->CopyCustomData(*pVar,*this);
		this->CopyPropertyData(*pVar,*this);
		return pVar;
	}


	BOOL CustomNonDBVariable::Accept(PropertyVisitor& visitor)
	{
		return visitor.Visit(this);
	}


};